function(GConfigureBuildConfig)
	
	# add preprocessor definitions for build configurations
	FOREACH (CURRENT_TYPE ${CMAKE_CONFIGURATION_TYPES})
	
		# cast to upper
		STRING(TOUPPER ${CURRENT_TYPE} CURRENT_TYPE_UPPER)
		# create property for configuration type
		SET(PROPERTY_NAME COMPILE_DEFINITIONS_${CURRENT_TYPE_UPPER})
		
		# define preprocessor for config type
		SET_PROPERTY(DIRECTORY APPEND PROPERTY ${PROPERTY_NAME} G_BUILD_${CURRENT_TYPE_UPPER})
		SET_PROPERTY(DIRECTORY APPEND PROPERTY ${PROPERTY_NAME} G_BUILD="${CURRENT_TYPE}")
		
	ENDFOREACH()

	#TODO: configure compiler flags of build configuration here!!!
	
endfunction()